<template>
  <div class="footer">
      <ul class="footer-list">
      <router-link to="/home"  tag="li">
        <span class="iconfont icon-shouye"></span>
        <p>首页</p>
      </router-link>
      <router-link to="/order" tag="li">
        <span class="iconfont icon-dingdan"></span>
        <p>订单</p>
      </router-link>
      <router-link to="/center" tag="li">
        <span class="iconfont icon-wode2"></span>
        <p>我的</p>
      </router-link>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
};
</script>

<style lang="scss" scoped>
.footer {
  padding-top:8px;
  position: fixed;
  z-index: 150;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height:50px;
  border-top: 1px solid #f1f1f1;
  background-color: #fff;
  .footer-list{
    display: flex;
    justify-content: space-around;
    li{
      text-align: center;
      &.router-link-active{
        color: #FFC135;
      }
      span{
        font-size: 18px;
      }
    p{
      font-size: 13px;
    }
    }
  }
}
</style>
